Hamilton equation

Also, consider when the phase space is T∗M. The physical motion can be described by Γ:R→T∗Q that makes the graph commutative: Γ˙(t)=#dH(Γ(t)), where on the right is the Hamilton vector field.
ref: the Architecture of Mechanics by Yujin Tong, the following graph is also from him.

Hamilton.png